package com.es.gateway.sdk.app.livingdetect;

import com.es.gateway.sdk.util.GsonUtil;
import lombok.Data;

/**
 * 获取TOKEN，请求对象
 */
@Data
public class LivingdetectRequest {
    /**
     * 请求action
     */
    public static String act = "livingdetection/livingdetect/init";
    /**
     * 初始化信息（从SDK端生成）
     */
    private String initMsg;

    public String toJsonStr(){return GsonUtil.getAllJson().toJson(this);}

    public void setinitMsg(String initMsg) {
        this.initMsg= initMsg;
    }
}
